package mju.cxf.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import mju.cxf.entity.Product;
import mju.cxf.entity.ProductSpecifications;
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "用户添加订单表")
@Data
public class CreateOrderDTO {
    @ApiModelProperty(value = "购买数量")
    private int number;
    @ApiModelProperty(value = "购买规格")
    private ProductSpecifications goods;

    @ApiModelProperty(value = "积分抵扣")
    private int pointsNumber;
}
